package com.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.mapper.PersonMapper;
import com.po.Person;
import com.service.PersonService;

/**
 * @author wsx
 * @create 2018/08/29
 */
@Service
@Transactional
public class PersonServiceImpl implements PersonService {

	@Autowired
	private PersonMapper personMapper;

	@Override
	public List<Person> find() {
		return personMapper.selectByExample(null);
	}

}
